package com.design.mode.status;

import org.junit.jupiter.api.Test;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-11 10:53:53
 */
public class StateTest {

    @Test
    public void test1() {
        RaffleActivity activity = new RaffleActivity();

        activity.toA();
        System.out.println(activity.getState().info());

        activity.toB();
        System.out.println(activity.getState().info());

        activity.toC();
        System.out.println(activity.getState().info());
    }
}
